luci-app-unbound: remove unnecessary permissions
authorPaul Donald <[email protected]>
Mon, 7 Jul 2025 23:36:36 +0000 (01:36 +0200)
committerPaul Donald <[email protected]>
Wed, 9 Jul 2025 16:18:00 +0000 (18:18 +0200)
They're taken care of implicitly by ubus rc init. Plus they contained
an erroneous colon.

Signed-off-by: Paul Donald <[email protected]>
applications/luci-app-unbound/root/usr/share/rpcd/acl.d/luci-app-unbound.json

index eb8444f0808af1eed0c6c99518bb183195aded0a..36c62665e82e82a3636d6fe561da5935d600f536 100644 (file)
@@ -8,8 +8,6 @@
                                "/tmp/resolv.conf.auto": ["read"],
                                "/tmp/resolv.conf.d/*": ["read"],
                                "/var/lib/unbound/*": ["read"],
-                               "/etc/init.d/unbound stop:": ["exec"],
-                               "/etc/init.d/unbound restart:": ["exec"],
                                "/sbin/logread -e unbound:": ["exec"],
                                "/usr/sbin/unbound-control -c /var/lib/unbound/unbound.conf stats_noreset": ["exec"],
                                "/usr/sbin/unbound-control -c /var/lib/unbound/unbound.conf list_local_data": ["exec"],